package com.gopay.common.domain.bis;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.gopay.common.domain.BaseEntity;

@MappedSuperclass
public class BaseBisBankConfig extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -5908870790006184144L;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    protected Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    protected Date lastUpdTs;

    /**
     * 删除标识
     * 
     * 0 - 未删除 1 - 已删除
     */
    @Column(name = "IS_DEL", nullable = false, precision = 1, scale = 0)
    private boolean del;

    /**
     * 是否可用
     * 
     * 0 - 不可用 1 - 可用
     */
    @Column(name = "ENABLE", nullable = false, precision = 2, scale = 1)
    private boolean enable;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TRANCODE")
    protected String lastUpdTranCode;

    /**
     * 备注1
     */
    @Column(name = "REMARK1")
    protected String remark1;
    /**
     * 备注2
     */
    @Column(name = "REMARK2")
    protected String remark2;

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getLastUpdTs() {
		return lastUpdTs;
	}

	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}

	public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public boolean isDel() {
        return del;
    }

    public void setDel(boolean del) {
        this.del = del;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
